//
//  XXSarkView.m
//  XXNibBridgeDemo
//
//  Created by sunnyxx on 14-7-2.
//  Copyright (c) 2014年 sunnyxx. All rights reserved.
//

#import "WJSarkView.h"
#import "WJDogView.h"
#import "XXNibBridge.h"

@interface WJSarkView () <XXNibBridge>  // Enable nib bridge

@property (nonatomic, weak) IBOutlet WJDogView *dogView;
@property (nonatomic, weak) IBOutlet NSLayoutConstraint *heightConstraint;

@end

@implementation WJSarkView

- (void)awakeFromNib {
    // IBOutlets are fine
    self.dogView.layer.cornerRadius = 5;
    self.heightConstraint.constant = 81;
}

@end
